// JavaScript Document
function mainnav(id)
{
	
	if(id!=''){
 
for(i=1;i<=9;i++){
        document.getElementById("nav"+eval(i)).className="nav"; 
        document.getElementById("menu"+eval(i)).style.display="none";       
  }
  
 document.getElementById("nav"+eval(id)).className="nav2";      
 document.getElementById("menu"+eval(id)).style.display="inline";  
     
	
	}
		
}
	
	
	
function navmenu(id){
	if(id!=''){
		    
for (i=1;i<=9;i++){
     document.getElementById("menu"+eval(i)).style.display="none";       
  }
  document.getElementById("menu"+eval(id)).style.display="inline";   
		
		}
	
	}
	
	
function nmain(id){
		
	if(id!=''){
		    
      if(id==1){
		   document.getElementById("Image9").src="images/n_1.gif";    
           document.getElementById("n1").style.display="inline";  
           document.getElementById("n2").style.display="none";   

		        }
				
	  if(id==2){
			
		document.getElementById("Image9").src="images/n_2.gif";    
        document.getElementById("n1").style.display="none";   
             document.getElementById("n2").style.display="inline";   
			   }
    
	}
	
	}


function memu(dname,dzt)
{
	if(dzt=="m1"){
		document.getElementById("m1").style.display="inline";
		document.getElementById("m2").style.display="none";
	document.getElementById("cdmenu"+eval(dname)).style.display="none";  
	}

	if(dzt=="m2"){
		document.getElementById("m1").style.display="none";
		document.getElementById("m2").style.display="inline";
	document.getElementById("cdmenu"+eval(dname)).style.display="inline";  
	}
}

function tiao(page,url){
window.location.href = url + page + ".html";
}

